﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace SST.WebClient.Data
{
    public class UserAccount : BaseData
    {
        private string _Username;
        /// <summary>
        /// Username
        /// </summary>
        public string Username
        {
            get { return _Username; }
            set
            {
                _Username = value;
                NotifyPropertyChanged("Username");
            }
        }

        private string _Password;
        /// <summary>
        /// Password
        /// </summary>
        public string Password
        {
            get { return _Password; }
            set
            {
                _Password = value;
                NotifyPropertyChanged("Password");
            }
        }

        private CookieCollection _SessionCookie;
        /// <summary>
        /// Login session cookie
        /// </summary>
        public CookieCollection SessionCookie
        {
            get { return _SessionCookie; }
            set
            {
                _SessionCookie = value;
                NotifyPropertyChanged("SessionCookie");
            }
        }

        private string _UserPw;
        /// <summary>
        /// userpw for chat
        /// </summary>
        public string UserPw
        {
            get { return _UserPw; }
            set
            {
                _UserPw = value;
                NotifyPropertyChanged("UserPw");
            }
        }
    }
}
